<extend name="Common@Layout/simpleboot" />
<block name="title">miniweb分组安装</block>

<block name="style">
<include file="Public:style" />
</block>

<block name="main">
	<div class="wrap">
		<include file="Public:header" />
		
		<section class="section">
			<div class="step">
				<ul class="unstyled">
					<li class="on"><em>1</em>检测环境</li>
					<li class="current"><em>2</em>选择安装分组</li>
					<li><em>3</em>完成安装</li>
				</ul>
			</div>
			
			<form id="js-install-form" action="{:u('index/step4')}" method="post">
				<div class="server">
					<table width="100%">
						<tr>
							<td class="td1" width="100">可安装分组：</td>
							<td class="td1" width="200">&nbsp;</td>
							<td class="td1">&nbsp;</td>
						</tr>
						<tr>
							<td class="text-left"></td>
							<td>
								<php>if(!count($installModules)){</php>
									没有可安装的分组
								<php>}else{</php>
								<volist name="installModules" id="vo">
									<label><input style="margin:0;" type="checkbox" name="installMDs[]" value="{$vo}"> {$vo} 分组</label>
								</volist>
								<php>}</php>
							</td>
							<td>
								<div id="js-install-tip-dbhost">
									<volist name="installModules" id="vo">
									<label><span style="color:#999">执行文件：<php>echo APP_PATH.$vo.'/Data/'.$vo.'.sql';</php></span></label>
									</volist>
								</div>
							</td>
						</tr>
					</table>
				</div>
				
				<div class="bottom text-center">
					<a href="{:u('Index/step2')}" class="btn btn-primary">上一步</a>
					<button type="submit" class="btn btn-primary">安装分组</button>
				</div>
			</form>
		</section>
		
	</div>
	<include file="Public:footer" />
	
</block>

<block name="script"></block>